+2006-01-14 Matthias Clasen <mclasen@redhat.com>
+
+ Fix a crash with combo boxes in RESIZE_IMMEDIATE
+ containers. (#326806, Sebastian Bacher)
+
+ * gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
+ (gtk_combo_box_size_request): Don't call
+ gtk_combo_box_check_appearance() from here, as that
+ can lead to recursion.
+ (gtk_combo_box_init): Instead, call it here.
+
2006-01-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
+2006-01-14 Matthias Clasen <mclasen@redhat.com>
+
+ Fix a crash with combo boxes in RESIZE_IMMEDIATE
+ containers. (#326806, Sebastian Bacher)
+
+ * gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
+ (gtk_combo_box_size_request): Don't call
+ gtk_combo_box_check_appearance() from here, as that
+ can lead to recursion.
+ (gtk_combo_box_init): Instead, call it here.
+
2006-01-14 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreemodelsort.c (gtk_tree_model_sort_iter_children): fix
combo_box->priv->editing_canceled = FALSE;
combo_box->priv->auto_scroll = FALSE;
combo_box->priv->focus_on_click = TRUE;
+
+ gtk_combo_box_check_appearance (combo_box);
}
static void
GtkRequisition bin_req;
GtkComboBox *combo_box = GTK_COMBO_BOX (widget);
-
- gtk_combo_box_check_appearance (combo_box);
-
+
/* common */
gtk_widget_size_request (GTK_BIN (widget)->child, &bin_req);
gtk_combo_box_remeasure (combo_box);
GtkRequisition req;
gboolean is_rtl = gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL;
- gtk_combo_box_check_appearance (combo_box);
-
widget->allocation = *allocation;
gtk_widget_style_get (GTK_WIDGET (widget),